﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pwd_update.aspx.cs" Inherits="uswinweb.pwd_update" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新增</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="../css/comm.css" rel="stylesheet" type="text/css" />
<link href="../css/lightview.css" type="text/css" rel="stylesheet" />
<link href="css/validator.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/prototype.js" type="text/javascript"></script>
<script src="../js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="../js/lightview.js" type="text/javascript"></script>
<script src="../js/effects.js" type="text/javascript"></script>
<script src="../js/table.js" type="text/javascript"></script>
<script src="../js/jquery_common.js" type="text/javascript"></script>
<script src="../js/formValidator.js" type="text/javascript" charset="UTF-8"></script>
<script src="../js/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<form id="form1" action="" method="post" runat="server">
<div class="repcot" id="repcot">
	<table cellpadding="0" cellspacing="0" border="0" class="adtb">
		<thead>
			<tr>
				<td colspan="4" style="position:relative;">修改密码</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td width="15%"><p class="zi1">原密码：</p></td>
				<td colspan="3">
				<p class="zi2"><input id="old_pwd" name="old_pwd" type="password" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:200px;" /></p>
                <span id="old_pwdTip"></span>
				</td>
			</tr>
			<tr>
				<td><p class="zi1">新密码：</p></td>
				<td colspan="3">
				<p class="zi2"><input id="new_pwd" name="new_pwd" type="password" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:200px;" /></p>
                <span id="new_pwdTip"></span>
				</td>
			</tr>
			<tr>
				<td><p class="zi1">确认密码：</p></td>
				<td colspan="3">
				<p class="zi2"><input id="new_pwd2" name="new_pwd2" type="password" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:200px;" /></p>
                <span id="new_pwd2Tip"></span>
				</td>
			</tr>
		</tbody>
	</table>
	<p class="insa">
		<span><input class="save" name="" type="submit" value="确 定" /></span>
	</p>
</div>
</form>
</body>
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery.formValidator.initConfig({ formid: "form1", onsuccess: function () { return true; submitonce: true } });
        jQuery("#old_pwd").formValidator({ onshow: "6-16位字符，可由英文、数字及“_”、“-”组成", onfocus: "密码至少6个字符,最多16个字符", oncorrect: "&nbsp;" }).inputValidator({ min: 6, max: 16, onerror: "您输入的密码非法,请确认" });
        jQuery("#new_pwd").formValidator({ onshow: "6-16位字符，可由英文、数字及“_”、“-”组成", onfocus: "密码至少6个字符,最多16个字符", oncorrect: "&nbsp;" }).inputValidator({ min: 6, max: 16, onerror: "您输入的密码非法,请确认" });
        jQuery("#new_pwd2").formValidator({ onshow: "请再次输入密码", onfocus: "两次密码必须一致", oncorrect: "&nbsp;" }).inputValidator({ min: 1, empty: { leftempty: false, rightempty: false, emptyerror: "重复密码两边不能有空符号" }, onerror: "重复密码不能为空,请确认" }).compareValidator({ desid: "new_pwd", operateor: "=", onerror: "2次密码不一致,请确认" });
    });
</script>
</html>
